package co.baiku.boot.orm.dao;

import co.baiku.boot.core.orm.dao.BaseDAO;
import co.baiku.boot.orm.po.Student;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Repository
public interface StudentDAO extends BaseDAO<Student, Long> {
    Student findFirstByStudentNo(String studentNo);

    List<Student> findByAmountGreaterThanEqual(BigDecimal amount);

    List<Student> findByAmount(BigDecimal amount);

}
